package com.wyd.studentboot.service;

import com.wyd.studentboot.bean.StudentBean;
import com.wyd.studentboot.bean.UserBean;

import java.util.List;

public interface StudentService {
    //根据ID查询用户信息
    StudentBean queryStudentById(String id);

    //插入新的用户
    int addStudent(StudentBean studentBean);

    //删除用户
    int dropStudent(String id);

    //修改用户
    int modifyStudent(StudentBean studentBean);

    //查询所有用户
    List<StudentBean> queryAllStudent();

    List<StudentBean> findName(String student_name);
}
